import assessCheckApi from './api'
import { axios } from '@/utils/request'

// 内控-收入登记-分页列表查询
export function list(params){
    return axios({
        url: assessCheckApi.list,
        method:'get',
        params:{...params},
        url_2:'outside',
    })
}
// 内控-收入登记-添加
export function add(data){
    return axios({
        url: assessCheckApi.add,
        method:'post',
        data:{...data},
        url_2:'outside',
    })
}
// 内控-收入登记-通过id删除
export function deletes(params){
    return axios({
        url: assessCheckApi.deletes,
        method:'delete',
        params:{...params},
        url_2:'outside',
    })
}
// 批量删除
export function deleteBatch(params){
    return axios({
        url: assessCheckApi.deleteBatch,
        method:'delete',
        params:{...params},
        url_2:'outside',
    })
}
// 内控-收入登记-编辑
export function edit(data){
    return axios({
        url: assessCheckApi.edit,
        method:'put' ,
        data:{...data},
        url_2:'outside',
    })
}
